﻿export default class apiDataModel<T> {
  code: number;
  message: string;
  msg: string;
  data: T;

  public get success() {
    return this.code == 0;
  }
}
